package com.food.user.exception.userAddressException;

public enum UserAddressExceptionCode {
    USER_ADDRESS_IS_EXIST(1401,"该地址已存在"),
    USER_ADDRESS_NOT_EXIST(1402,"该地址不存在");
    Integer code;
    String message;

    UserAddressExceptionCode(Integer code, String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode(){return code;}
    public String getMessage(){return message;}
}
